package com.payment.mapper;

import com.payment.entity.common.UserOrderPayment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserOrderPaymentMapper {

    public void updateWeiXinPayRst(UserOrderPayment payment);

    public void updateCallbackPayRst(UserOrderPayment payment);

    public String queryPayRstByPayId(@Param("payId") String out_trade_no);

    public int queryCountByPayId(@Param("payId") String out_trade_no);

    public void dataTransfer();

    public void originalDataDelete();

    void updatePaymentForHist(UserOrderPayment payment);

    Integer insertOrderToPaymentT(UserOrderPayment payment);
}
